/*
    s.toCharArray()
    s.charAt(i)
 */
import java.util.Scanner;

public class StringWalk {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入字符串");
        String s = sc.nextLine();
        //char c ;
        char[] c = s.toCharArray();
        for (int i = 0; i < s.length(); i++) {
            //c = s.charAt(i);
            System.out.print(c[i] + " ");//c
        }

    }
}
